package com.xinqi.modules.stats.score.convert;

import com.xinqi.common.mapstruct.CommonConvertConfig;
import com.xinqi.modules.stats.score.domain.CourseTotalScoreBaseConfigEntity;
import com.xinqi.modules.stats.score.domain.CourseTotalScoreTypeConfigEntity;
import com.xinqi.modules.stats.score.dto.rsp.CourseTotalScoreConfigResultDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 课程作业配置表转换
 *
 * @author: system
 * @date: 2023/03/08
 */
@Mapper(config = CommonConvertConfig.class)
public abstract class CourseTotalScoreTypeConfigConvert {

    public abstract CourseTotalScoreConfigResultDTO convert(CourseTotalScoreTypeConfigEntity s);

    public abstract CourseTotalScoreTypeConfigEntity convert(CourseTotalScoreBaseConfigEntity s);

    public abstract List<CourseTotalScoreConfigResultDTO> convert(List<CourseTotalScoreTypeConfigEntity> list);



}
